import 'package:flutter/material.dart';
import './expansion_title.dart';
import './expansion_panelist.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: '展开关闭列表',
      debugShowCheckedModeBanner: false,
      theme: ThemeData.dark(),
      // 单个
      // home: ExpansionTileDemo(),
      // 列表
      home: ExpansionPanelListDemo(),
    );
  }
}
